package mark_2;

public class Student {
    private  String name;
    private  int age;
    private  String sid;
    public Student(){}
    //不带参数的默认构造函数 constructor


    public Student(String name, int age, String sid) {
        this.name = name;
        this.age = age;
        this.sid = sid;
    }

    public String getName() {
        return name;
    }

    public int getAge() {
        return age;
    }

    public String getSid() {
        return sid;
    }
}
